package com.example.myfirst.entity;

import java.time.LocalDateTime;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 系列表(Category)表实体类
 *
 * @author makejava
 * @since 2023-12-12 19:43:23
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("category")
public class Category extends Model<Category> implements Serializable {
    //id
    @TableId(type = IdType.AUTO)
    private Integer id;
    //系列名称
    private String name;
    //创建时间
    private LocalDateTime createTime;
    //修改时间
    private LocalDateTime updateTime;
    //所属店铺id
    private Integer shopId;
}

